const originPrefix = "/mock-data/file-storage";


// POST http://localhost:8083/api/v1.0/portal/auth/logout
export const logoutRes = { "code": 200, "message": "操作成功", "data": null };

// POST http://localhost:8083/api/v1.0/portal/auth/login?username=m1&password=aaaaaa&verifycode=mey4
export const loginResult = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "tokenHead": "Bearer ",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJtMSIsImNyZWF0ZWQiOjE2ODY0Njg1NDc3NTYsImV4cCI6MTY4NzA3MzM0N30.FtwTZRQ2j0HB0bG_tzYGknwBhyCDgXQeR-y8WBKCvFUP9Vl2VsUyhVLvTUe1e9pVTJ0T62muu8IEuvEICR472g"
    }
};

// POST http://localhost:8083/api/v1.0/portal/member/register
// {"username":"test","password":"aaaaaa","confirmPassword":"aaaaaa","verifyCode":"4axe"}
export const registerRes = {"code":200,"message":"操作成功","data":18}

// http://localhost:8083/api/v1.0/portal/home/data
export const homeData = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "carousels": [
            {
                "id": 9,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "imgUrl": "/mock-data/file-storage/carousel/carousel1.png",
                "productId": 12,
                "productName": "无印良品 MUJI 基础润肤化妆水20",
                "productImgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "linkType": "PRODUCT",
                "display": true
            },
            {
                "id": 8,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "imgUrl": "/mock-data/file-storage/carousel/carousel3.png",
                "linkUrl": "https://www.baidu.com",
                "linkType": "LINK",
                "display": true
            },
            {
                "id": 5,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "imgUrl": "/mock-data/file-storage/carousel/carousel2.png",
                "productId": 12,
                "productName": "Beats X 蓝牙无线','入耳式耳机 带麦可通话 -桀骜黑红（十周年版） MRQA2PA/A16",
                "productImgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "linkType": "PRODUCT",
                "display": true
            },
            {
                "id": 3,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "imgUrl": "/mock-data/file-storage/carousel/carousel3.png",
                "linkUrl": "https://www.baidu.com",
                "linkType": "LINK",
                "display": true
            },
            {
                "id": 2,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "imgUrl": "/mock-data/file-storage/carousel/carousel2.png",
                "productId": 6,
                "productName": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款6",
                "productImgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "linkType": "PRODUCT",
                "display": true
            }
        ],
        "newProducts": [
            {
                "id": 1,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "美宝莲（MAYBELLINE）绝色持久唇膏雾感哑光系列R09PM 3.9g（女皇色口红新老包装）1",
                "summary": "summary p1",
                "detail": "<p>detail p1</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "stock": 21,
                "price": 49.18,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 13
            },
            {
                "id": 3,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水3",
                "summary": "summary p3",
                "detail": "<p>detail p3</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 99,
                "price": 77.52,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 13
            },
            {
                "id": 7,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款7",
                "summary": "summary p7",
                "detail": "<p>detail p7</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 34,
                "price": 54.45,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 14
            },
            {
                "id": 12,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "小米 Redmi AirDots12",
                "summary": "summary p12",
                "detail": "<p>detail p12</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 23,
                "price": 48.08,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 13
            },
            {
                "id": 13,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 男式','无侧缝法兰绒 睡衣 海军蓝13",
                "summary": "summary p13",
                "detail": "<p>detail p13</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 3,
                "price": 18.76,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 9
            },
            {
                "id": 14,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "海囤全球 汤姆福特 TOM14",
                "summary": "summary p14",
                "detail": "<p>detail p14</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 71,
                "price": 44.16,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 14
            },
            {
                "id": 16,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "Beats X 蓝牙无线','入耳式耳机 带麦可通话 -桀骜黑红（十周年版） MRQA2PA/A16",
                "summary": "summary p16",
                "detail": "<p>detail p16</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 88,
                "price": 12.56,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 11
            },
            {
                "id": 17,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
                "summary": "summary p17",
                "detail": "<p>detail p17</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 35,
                "price": 65.39,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 6
            },
            {
                "id": 18,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水18",
                "summary": "summary p18",
                "detail": "<p>detail p18</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample7.jpg",
                "stock": 77,
                "price": 61.52,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 5
            },
            {
                "id": 20,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水20",
                "summary": "summary p20",
                "detail": "<p>detail p20</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "stock": 81,
                "price": 65.8,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 21
            }
        ],
        "hotProducts": [
            {
                "id": 1,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "美宝莲（MAYBELLINE）绝色持久唇膏雾感哑光系列R09PM 3.9g（女皇色口红新老包装）1",
                "summary": "summary p1",
                "detail": "<p>detail p1</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "stock": 21,
                "price": 49.18,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 13
            },
            {
                "id": 6,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款6",
                "summary": "summary p6",
                "detail": "<p>detail p6</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 13,
                "price": 62.75,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 3
            },
            {
                "id": 16,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "Beats X 蓝牙无线','入耳式耳机 带麦可通话 -桀骜黑红（十周年版） MRQA2PA/A16",
                "summary": "summary p16",
                "detail": "<p>detail p16</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 88,
                "price": 12.56,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 11
            },
            {
                "id": 18,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水18",
                "summary": "summary p18",
                "detail": "<p>detail p18</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample7.jpg",
                "stock": 77,
                "price": 61.52,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 5
            },
            {
                "id": 19,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 柔和洁面泡沫19",
                "summary": "summary p19",
                "detail": "<p>detail p19</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 28,
                "price": 20.19,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 11
            }
        ]
    }
};

// http://localhost:8083/api/v1.0/portal/product?page=0&size=10
export const products1 = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "content": [
            {
                "id": 20,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水20",
                "summary": "summary p20",
                "detail": "<p>detail p20</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "stock": 81,
                "price": 65.8,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 21,
                "categoryPath": [
                    "c7",
                    "c21"
                ],
                "categoryTree": {
                    "id": 21,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c21",
                    "parentId": 7,
                    "rootId": 7,
                    "level": 1,
                    "parent": {
                        "id": 7,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c7",
                        "rootId": 7,
                        "level": 0,
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 19,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 柔和洁面泡沫19",
                "summary": "summary p19",
                "detail": "<p>detail p19</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 28,
                "price": 20.19,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 11,
                "categoryPath": [
                    "c9",
                    "c11"
                ],
                "categoryTree": {
                    "id": 11,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c11",
                    "parentId": 9,
                    "rootId": 9,
                    "level": 1,
                    "parent": {
                        "id": 9,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c9",
                        "rootId": 9,
                        "level": 0,
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 18,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水18",
                "summary": "summary p18",
                "detail": "<p>detail p18</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample7.jpg",
                "stock": 77,
                "price": 61.52,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 5,
                "categoryPath": [
                    "c5"
                ],
                "categoryTree": {
                    "id": 5,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c5",
                    "rootId": 5,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 17,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
                "summary": "summary p17",
                "detail": "<p>detail p17</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 35,
                "price": 65.39,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 6,
                "categoryPath": [
                    "c1",
                    "c2",
                    "c3",
                    "c4",
                    "c6"
                ],
                "categoryTree": {
                    "id": 6,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c6",
                    "parentId": 4,
                    "rootId": 1,
                    "level": 4,
                    "parent": {
                        "id": 4,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c4",
                        "parentId": 3,
                        "rootId": 1,
                        "level": 3,
                        "parent": {
                            "id": 3,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c3",
                            "parentId": 2,
                            "rootId": 1,
                            "level": 2,
                            "parent": {
                                "id": 2,
                                "createdTime": "2023-06-10 11:16:45",
                                "lastModifiedTime": "2023-06-10 11:16:45",
                                "name": "c2",
                                "parentId": 1,
                                "rootId": 1,
                                "level": 1,
                                "parent": {
                                    "id": 1,
                                    "createdTime": "2023-06-10 11:16:45",
                                    "lastModifiedTime": "2023-06-10 11:16:45",
                                    "name": "c1",
                                    "rootId": 1,
                                    "level": 0,
                                    "children": []
                                },
                                "children": []
                            },
                            "children": []
                        },
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 16,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "Beats X 蓝牙无线','入耳式耳机 带麦可通话 -桀骜黑红（十周年版） MRQA2PA/A16",
                "summary": "summary p16",
                "detail": "<p>detail p16</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 88,
                "price": 12.56,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 11,
                "categoryPath": [
                    "c9",
                    "c11"
                ],
                "categoryTree": {
                    "id": 11,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c11",
                    "parentId": 9,
                    "rootId": 9,
                    "level": 1,
                    "parent": {
                        "id": 9,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c9",
                        "rootId": 9,
                        "level": 0,
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 15,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款15",
                "summary": "summary p15",
                "detail": "<p>detail p15</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample2.jpg",
                "stock": 57,
                "price": 2.37,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 19,
                "categoryPath": [
                    "c19"
                ],
                "categoryTree": {
                    "id": 19,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c19",
                    "rootId": 19,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 14,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "海囤全球 汤姆福特 TOM14",
                "summary": "summary p14",
                "detail": "<p>detail p14</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 71,
                "price": 44.16,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 14,
                "categoryPath": [
                    "c14"
                ],
                "categoryTree": {
                    "id": 14,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c14",
                    "rootId": 14,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 13,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 男式','无侧缝法兰绒 睡衣 海军蓝13",
                "summary": "summary p13",
                "detail": "<p>detail p13</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 3,
                "price": 18.76,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 9,
                "categoryPath": [
                    "c9"
                ],
                "categoryTree": {
                    "id": 9,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c9",
                    "rootId": 9,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 12,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "小米 Redmi AirDots12",
                "summary": "summary p12",
                "detail": "<p>detail p12</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 23,
                "price": 48.08,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 13,
                "categoryPath": [
                    "c13"
                ],
                "categoryTree": {
                    "id": 13,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c13",
                    "rootId": 13,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 11,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金11",
                "summary": "summary p11",
                "detail": "<p>detail p11</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample7.jpg",
                "stock": 13,
                "price": 49.79,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 15,
                "categoryPath": [
                    "c15"
                ],
                "categoryTree": {
                    "id": 15,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c15",
                    "rootId": 15,
                    "level": 0,
                    "children": []
                }
            }
        ],
        "pageable": {
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 0,
            "pageNumber": 0,
            "pageSize": 10,
            "unpaged": false,
            "paged": true
        },
        "totalElements": 20,
        "last": false,
        "totalPages": 2,
        "size": 10,
        "number": 0,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "numberOfElements": 10,
        "first": true,
        "empty": false
    }
}

// http://localhost:8083/api/v1.0/portal/product?page=1&size=10
export const products2 = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "content": [
            {
                "id": 10,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "荣耀原装三键线控带麦半入耳式耳机AM116(尊爵版)适用于华为荣耀手机10",
                "summary": "summary p10",
                "detail": "<p>detail p10</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample5.jpg",
                "stock": 84,
                "price": 41.27,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 17,
                "categoryPath": [
                    "c17"
                ],
                "categoryTree": {
                    "id": 17,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c17",
                    "rootId": 17,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 9,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金9",
                "summary": "summary p9",
                "detail": "<p>detail p9</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 47,
                "price": 40.03,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 3,
                "categoryPath": [
                    "c1",
                    "c2",
                    "c3"
                ],
                "categoryTree": {
                    "id": 3,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c3",
                    "parentId": 2,
                    "rootId": 1,
                    "level": 2,
                    "parent": {
                        "id": 2,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c2",
                        "parentId": 1,
                        "rootId": 1,
                        "level": 1,
                        "parent": {
                            "id": 1,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c1",
                            "rootId": 1,
                            "level": 0,
                            "children": []
                        },
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 8,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "Beats X 蓝牙无线','入耳式耳机 带麦可通话 -桀骜黑红（十周年版） MRQA2PA/A8",
                "summary": "summary p8",
                "detail": "<p>detail p8</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 66,
                "price": 77.56,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 7,
                "categoryPath": [
                    "c7"
                ],
                "categoryTree": {
                    "id": 7,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c7",
                    "rootId": 7,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 7,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款7",
                "summary": "summary p7",
                "detail": "<p>detail p7</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 34,
                "price": 54.45,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 14,
                "categoryPath": [
                    "c14"
                ],
                "categoryTree": {
                    "id": 14,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c14",
                    "rootId": 14,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 6,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款6",
                "summary": "summary p6",
                "detail": "<p>detail p6</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 13,
                "price": 62.75,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 3,
                "categoryPath": [
                    "c1",
                    "c2",
                    "c3"
                ],
                "categoryTree": {
                    "id": 3,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c3",
                    "parentId": 2,
                    "rootId": 1,
                    "level": 2,
                    "parent": {
                        "id": 2,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c2",
                        "parentId": 1,
                        "rootId": 1,
                        "level": 1,
                        "parent": {
                            "id": 1,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c1",
                            "rootId": 1,
                            "level": 0,
                            "children": []
                        },
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 5,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款5",
                "summary": "summary p5",
                "detail": "<p>detail p5</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample5.jpg",
                "stock": 29,
                "price": 44.55,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 13,
                "categoryPath": [
                    "c13"
                ],
                "categoryTree": {
                    "id": 13,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c13",
                    "rootId": 13,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 4,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款4",
                "summary": "summary p4",
                "detail": "<p>detail p4</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample3.jpg",
                "stock": 0,
                "price": 98.97,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 5,
                "categoryPath": [
                    "c5"
                ],
                "categoryTree": {
                    "id": 5,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c5",
                    "rootId": 5,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 3,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 基础润肤化妆水3",
                "summary": "summary p3",
                "detail": "<p>detail p3</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 99,
                "price": 77.52,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 13,
                "categoryPath": [
                    "c13"
                ],
                "categoryTree": {
                    "id": 13,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c13",
                    "rootId": 13,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 2,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "无印良品 MUJI 男式','无侧缝法兰绒 睡衣 海军蓝2",
                "summary": "summary p2",
                "detail": "<p>detail p2</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "stock": 84,
                "price": 70.23,
                "sellingStatus": "PULL_OFF_SHELVES",
                "categoryId": 5,
                "categoryPath": [
                    "c5"
                ],
                "categoryTree": {
                    "id": 5,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c5",
                    "rootId": 5,
                    "level": 0,
                    "children": []
                }
            },
            {
                "id": 1,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "美宝莲（MAYBELLINE）绝色持久唇膏雾感哑光系列R09PM 3.9g（女皇色口红新老包装）1",
                "summary": "summary p1",
                "detail": "<p>detail p1</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample4.jpg",
                "stock": 21,
                "price": 49.18,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 13,
                "categoryPath": [
                    "c13"
                ],
                "categoryTree": {
                    "id": 13,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c13",
                    "rootId": 13,
                    "level": 0,
                    "children": []
                }
            }
        ],
        "pageable": {
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 10,
            "pageNumber": 1,
            "pageSize": 10,
            "unpaged": false,
            "paged": true
        },
        "totalElements": 20,
        "last": true,
        "totalPages": 2,
        "size": 10,
        "number": 1,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "numberOfElements": 10,
        "first": false,
        "empty": false
    }
};

// http://localhost:8083/api/v1.0/portal/product/12
export const productDetail = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "id": 12,
        "createdTime": "2023-06-10 11:16:45",
        "lastModifiedTime": "2023-06-10 11:16:45",
        "name": "小米 Redmi AirDots12",
        "summary": "summary p12",
        "detail": "<p>detail p12</p><p>商品信息加载中</p>",
        "imgUrl": "/mock-data/file-storage/product/sample6.jpg",
        "stock": 23,
        "price": 48.08,
        "sellingStatus": "PULL_OFF_SHELVES",
        "categoryId": 13,
        "categoryPath": [
            "c13"
        ],
        "categoryTree": {
            "id": 13,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c13",
            "rootId": 13,
            "level": 0,
            "children": []
        }
    }
};

// http://localhost:8083/api/v1.0/portal/cart-item?page=0&size=10
export const cartItems = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "content": [
            {
                "id": 24,
                "createdTime": "2023-06-11 15:31:19",
                "lastModifiedTime": "2023-06-11 15:31:19",
                "memberId": 1,
                "productId": 12,
                "productName": "小米 Redmi AirDots12",
                "productImgUrl": "/mock-data/file-storage/product/sample6.jpg",
                "quantity": 1,
                "price": 48.08
            },
            {
                "id": 1,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "memberId": 1,
                "productId": 17,
                "productName": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
                "productImgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "quantity": 5,
                "price": 65.39
            }
        ],
        "pageable": {
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 0,
            "pageNumber": 0,
            "pageSize": 10,
            "unpaged": false,
            "paged": true
        },
        "totalElements": 2,
        "last": true,
        "totalPages": 1,
        "size": 10,
        "number": 0,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "numberOfElements": 2,
        "first": true,
        "empty": false
    }
}

// POST http://localhost:8083/api/v1.0/portal/cart-item
// {"productId":12,"quantity":1}
export const addCart = {
    "code": 200,
    "message": "操作成功",
    "data": 24
};

// http://localhost:8083/api/v1.0/portal/cart-item/query?ids=1
export const cartProductDetail = {
    "code": 200,
    "message": "操作成功",
    "data": [
        {
            "id": 1,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "memberId": 1,
            "productId": 17,
            "productName": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
            "productImgUrl": "/mock-data/file-storage/product/sample1.jpg",
            "quantity": 5,
            "price": 65.39
        }
    ]
};

// http://localhost:8083/api/v1.0/portal/address/default
export const defaultAddress = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "id": 1,
        "createdTime": "2023-06-10 11:16:44",
        "lastModifiedTime": "2023-06-10 11:16:44",
        "memberId": 1,
        "receiverName": "receiver0",
        "receiverPhone": "13163444414",
        "receiverProvinceCode": "320000",
        "receiverProvince": "江苏省",
        "receiverCityCode": "320100",
        "receiverCity": "南京市",
        "receiverDistrictCode": "320113",
        "receiverDistrict": "栖霞区",
        "receiverAddress": "仙林大学城文苑路100号xxxx大学"
    }
}

// http://localhost:8083/api/v1.0/portal/address
export const addresses = {
    "code": 200,
    "message": "操作成功",
    "data": [
        {
            "id": 1,
            "createdTime": "2023-06-10 11:16:44",
            "lastModifiedTime": "2023-06-10 11:16:44",
            "memberId": 1,
            "receiverName": "receiver0",
            "receiverPhone": "13163444414",
            "receiverProvinceCode": "320000",
            "receiverProvince": "江苏省",
            "receiverCityCode": "320100",
            "receiverCity": "南京市",
            "receiverDistrictCode": "320113",
            "receiverDistrict": "栖霞区",
            "receiverAddress": "仙林大学城文苑路100号xxxx大学"
        }
    ]
}

// http://localhost:8083/api/v1.0/portal/address/1
export const addressDetail = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "id": 1,
        "createdTime": "2023-06-10 11:16:44",
        "lastModifiedTime": "2023-06-10 11:16:44",
        "memberId": 1,
        "receiverName": "receiver0",
        "receiverPhone": "13163444414",
        "receiverProvinceCode": "320000",
        "receiverProvince": "江苏省",
        "receiverCityCode": "320100",
        "receiverCity": "南京市",
        "receiverDistrictCode": "320113",
        "receiverDistrict": "栖霞区",
        "receiverAddress": "仙林大学城文苑路100号xxxx大学"
    }
};

// PUT http://localhost:8083/api/v1.0/portal/address
export const updateAddress = { "code": 200, "message": "操作成功", "data": 1 };

// POST http://localhost:8083/api/v1.0/portal/address
export const addAddress = { "code": 200, "message": "操作成功", "data": 2 };

// POST http://localhost:8083/api/v1.0/portal/order
// {"orderType":"FROM_CART","addressId":1,"cartItemIds":[1]}
export const orderResult = { "code": 200, "message": "操作成功", "data": 37 };

// PUT http://localhost:8083/api/v1.0/portal/order
// {"id":37,"orderStatus":"UN_EXPRESSED"}
export const updateOrderResult = { "code": 200, "message": "操作成功", "data": 37 };

// POST http://localhost:8083/api/v1.0/portal/order/query
// {"page":0,"size":10}
export const orderList = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "content": [
            {
                "id": 37,
                "createdTime": "2023-06-11 15:39:41",
                "lastModifiedTime": "2023-06-11 15:40:32",
                "code": "XSDD20230611000001",
                "orderStatus": "UN_EXPRESSED",
                "memberId": 1,
                "memberNickname": "mn1",
                "amount": 65.39,
                "receiverName": "receiver0",
                "receiverPhone": "13163444414",
                "receiverProvinceCode": "320000",
                "receiverProvince": "江苏省",
                "receiverCityCode": "320100",
                "receiverCity": "南京市",
                "receiverDistrictCode": "320113",
                "receiverDistrict": "栖霞区",
                "receiverAddress": "仙林大学城文苑路100号xxxx大学",
                "orderTime": "2023-06-11 15:39:41",
                "items": [
                    {
                        "id": 88,
                        "createdTime": "2023-06-11 15:39:41",
                        "lastModifiedTime": "2023-06-11 15:39:41",
                        "orderId": 37,
                        "productId": 17,
                        "productName": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
                        "productImgUrl": "/mock-data/file-storage/product/sample1.jpg",
                        "quantity": 5,
                        "price": 65.39
                    }
                ]
            },
            {
                "id": 28,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "code": "XSDD20191018000028",
                "orderStatus": "UN_EXPRESSED",
                "memberId": 1,
                "memberNickname": "mn1",
                "amount": 38.14,
                "receiverName": "receiver27",
                "receiverPhone": "13163444414",
                "receiverProvinceCode": "320000",
                "receiverProvince": "江苏省",
                "receiverCityCode": "320100",
                "receiverCity": "南京市",
                "receiverDistrictCode": "320113",
                "receiverDistrict": "栖霞区",
                "receiverAddress": "仙林大学城文苑路1027号xxxx大学",
                "orderTime": "2019-10-18 15:26:49",
                "paymentTime": "2020-12-24 02:06:07",
                "paymentType": "BANK_CARD",
                "paymentAccount": "BANK_CARD27",
                "items": [
                    {
                        "id": 69,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "orderId": 28,
                        "productId": 10,
                        "productName": "荣耀原装三键线控带麦半入耳式耳机AM116(尊爵版)适用于华为荣耀手机10",
                        "productImgUrl": "/mock-data/file-storage/product/sample5.jpg",
                        "quantity": 1,
                        "price": 41.27
                    },
                    {
                        "id": 70,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "orderId": 28,
                        "productId": 1,
                        "productName": "美宝莲（MAYBELLINE）绝色持久唇膏雾感哑光系列R09PM 3.9g（女皇色口红新老包装）1",
                        "productImgUrl": "/mock-data/file-storage/product/sample4.jpg",
                        "quantity": 7,
                        "price": 49.18
                    }
                ]
            },
            {
                "id": 7,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "code": "XSDD20190603000007",
                "orderStatus": "COMPLETE",
                "memberId": 1,
                "memberNickname": "mn1",
                "amount": 63.68,
                "receiverName": "receiver6",
                "receiverPhone": "13163444414",
                "receiverProvinceCode": "320000",
                "receiverProvince": "江苏省",
                "receiverCityCode": "320100",
                "receiverCity": "南京市",
                "receiverDistrictCode": "320113",
                "receiverDistrict": "栖霞区",
                "receiverAddress": "仙林大学城文苑路106号xxxx大学",
                "orderTime": "2019-06-03 19:23:45",
                "paymentTime": "2020-01-25 06:11:00",
                "paymentType": "BANK_CARD",
                "paymentAccount": "BANK_CARD6",
                "expressTime": "2020-11-25 15:56:12",
                "expressCompany": "Express Company6",
                "expressNumber": "Express6",
                "receivedTime": "2021-06-07 18:41:01",
                "confirmTime": "2021-10-01 22:25:54",
                "items": [
                    {
                        "id": 15,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "orderId": 7,
                        "productId": 17,
                        "productName": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金17",
                        "productImgUrl": "/mock-data/file-storage/product/sample1.jpg",
                        "quantity": 10,
                        "price": 65.39
                    },
                    {
                        "id": 16,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "orderId": 7,
                        "productId": 18,
                        "productName": "无印良品 MUJI 基础润肤化妆水18",
                        "productImgUrl": "/mock-data/file-storage/product/sample7.jpg",
                        "quantity": 6,
                        "price": 61.52
                    }
                ]
            }
        ],
        "pageable": {
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 0,
            "pageNumber": 0,
            "pageSize": 10,
            "unpaged": false,
            "paged": true
        },
        "totalElements": 3,
        "last": true,
        "totalPages": 1,
        "size": 10,
        "number": 0,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "numberOfElements": 3,
        "first": true,
        "empty": false
    }
};

// http://localhost:8083/api/v1.0/portal/auth/current
export const currentUser = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "id": 1,
        "createdTime": "2023-06-10 11:16:44",
        "lastModifiedTime": "2023-06-10 11:16:44",
        "username": "m1",
        "avatarUrl": "/mock-data/file-storage/avatar/default.png",
        "nickname": "mn1"
    }
};

// PUT http://localhost:8083/api/v1.0/portal/member
// {"id":1,"createdTime":"2023-06-10 11:16:44","lastModifiedTime":"2023-06-10 11:16:44","username":"m1","avatarUrl":"/mock-data/file-storage/avatar/default.png","nickname":"mn"}
export const changeUserInfo = { "code": 200, "message": "操作成功", "data": 1 };

// PUT http://localhost:8083/api/v1.0/portal/member/change-password
export const changePasword = { "code": 200, "message": "操作成功", "data": 1 };

// http://localhost:8083/api/v1.0/portal/category/treelist
export const treeList = {
    "code": 200,
    "message": "操作成功",
    "data": [
        {
            "id": 1,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c1",
            "rootId": 1,
            "level": 0,
            "children": [
                {
                    "id": 2,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c2",
                    "parentId": 1,
                    "rootId": 1,
                    "level": 1,
                    "children": [
                        {
                            "id": 3,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c3",
                            "parentId": 2,
                            "rootId": 1,
                            "level": 2,
                            "children": [
                                {
                                    "id": 4,
                                    "createdTime": "2023-06-10 11:16:45",
                                    "lastModifiedTime": "2023-06-10 11:16:45",
                                    "name": "c4",
                                    "parentId": 3,
                                    "rootId": 1,
                                    "level": 3,
                                    "children": [
                                        {
                                            "id": 6,
                                            "createdTime": "2023-06-10 11:16:45",
                                            "lastModifiedTime": "2023-06-10 11:16:45",
                                            "name": "c6",
                                            "parentId": 4,
                                            "rootId": 1,
                                            "level": 4,
                                            "children": []
                                        },
                                        {
                                            "id": 12,
                                            "createdTime": "2023-06-10 11:16:45",
                                            "lastModifiedTime": "2023-06-10 11:16:45",
                                            "name": "c12",
                                            "parentId": 4,
                                            "rootId": 1,
                                            "level": 4,
                                            "children": []
                                        }
                                    ]
                                },
                                {
                                    "id": 16,
                                    "createdTime": "2023-06-10 11:16:45",
                                    "lastModifiedTime": "2023-06-10 11:16:45",
                                    "name": "c16",
                                    "parentId": 3,
                                    "rootId": 1,
                                    "level": 3,
                                    "children": []
                                }
                            ]
                        },
                        {
                            "id": 20,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c20",
                            "parentId": 2,
                            "rootId": 1,
                            "level": 2,
                            "children": []
                        }
                    ]
                }
            ]
        },
        {
            "id": 5,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c5",
            "rootId": 5,
            "level": 0,
            "children": []
        },
        {
            "id": 7,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c7",
            "rootId": 7,
            "level": 0,
            "children": [
                {
                    "id": 21,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c21",
                    "parentId": 7,
                    "rootId": 7,
                    "level": 1,
                    "children": []
                }
            ]
        },
        {
            "id": 8,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c8",
            "rootId": 8,
            "level": 0,
            "children": []
        },
        {
            "id": 9,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c9",
            "rootId": 9,
            "level": 0,
            "children": [
                {
                    "id": 11,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c11",
                    "parentId": 9,
                    "rootId": 9,
                    "level": 1,
                    "children": []
                }
            ]
        },
        {
            "id": 10,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c10",
            "rootId": 10,
            "level": 0,
            "children": []
        },
        {
            "id": 13,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c13",
            "rootId": 13,
            "level": 0,
            "children": [
                {
                    "id": 18,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c18",
                    "parentId": 13,
                    "rootId": 13,
                    "level": 1,
                    "children": []
                }
            ]
        },
        {
            "id": 14,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c14",
            "rootId": 14,
            "level": 0,
            "children": []
        },
        {
            "id": 15,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c15",
            "rootId": 15,
            "level": 0,
            "children": []
        },
        {
            "id": 17,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c17",
            "rootId": 17,
            "level": 0,
            "children": []
        },
        {
            "id": 19,
            "createdTime": "2023-06-10 11:16:45",
            "lastModifiedTime": "2023-06-10 11:16:45",
            "name": "c19",
            "rootId": 19,
            "level": 0,
            "children": []
        }
    ]
};

// POST http://localhost:8083/api/v1.0/portal/product/query
// {"categoryId":3,"page":0,"size":10}
export const queryByCategory = {
    "code": 200,
    "message": "操作成功",
    "data": {
        "content": [
            {
                "id": 9,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-11 15:30:00",
                "name": "【专柜正品】迪奥999Dior口红唇膏烈艳蓝金 哑光滋润520/888/999送礼礼品套装 烈艳蓝金9",
                "summary": "summary p9",
                "detail": "<p>detail p9</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 59,
                "price": 40.03,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 3,
                "categoryPath": [
                    "c1",
                    "c2",
                    "c3"
                ],
                "categoryTree": {
                    "id": 3,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c3",
                    "parentId": 2,
                    "rootId": 1,
                    "level": 2,
                    "parent": {
                        "id": 2,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c2",
                        "parentId": 1,
                        "rootId": 1,
                        "level": 1,
                        "parent": {
                            "id": 1,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c1",
                            "rootId": 1,
                            "level": 0,
                            "children": []
                        },
                        "children": []
                    },
                    "children": []
                }
            },
            {
                "id": 6,
                "createdTime": "2023-06-10 11:16:45",
                "lastModifiedTime": "2023-06-10 11:16:45",
                "name": "华为耳机原装半入耳式有线mate9p10plus8x荣耀v20v10nova2s9iv9p9play 【标准版】华为AM115 白色-热卖款6",
                "summary": "summary p6",
                "detail": "<p>detail p6</p><p>商品信息加载中</p>",
                "imgUrl": "/mock-data/file-storage/product/sample1.jpg",
                "stock": 13,
                "price": 62.75,
                "sellingStatus": "PUT_ON_SHELVES",
                "categoryId": 3,
                "categoryPath": [
                    "c1",
                    "c2",
                    "c3"
                ],
                "categoryTree": {
                    "id": 3,
                    "createdTime": "2023-06-10 11:16:45",
                    "lastModifiedTime": "2023-06-10 11:16:45",
                    "name": "c3",
                    "parentId": 2,
                    "rootId": 1,
                    "level": 2,
                    "parent": {
                        "id": 2,
                        "createdTime": "2023-06-10 11:16:45",
                        "lastModifiedTime": "2023-06-10 11:16:45",
                        "name": "c2",
                        "parentId": 1,
                        "rootId": 1,
                        "level": 1,
                        "parent": {
                            "id": 1,
                            "createdTime": "2023-06-10 11:16:45",
                            "lastModifiedTime": "2023-06-10 11:16:45",
                            "name": "c1",
                            "rootId": 1,
                            "level": 0,
                            "children": []
                        },
                        "children": []
                    },
                    "children": []
                }
            }
        ],
        "pageable": {
            "sort": {
                "empty": false,
                "sorted": true,
                "unsorted": false
            },
            "offset": 0,
            "pageNumber": 0,
            "pageSize": 10,
            "unpaged": false,
            "paged": true
        },
        "totalElements": 2,
        "last": true,
        "totalPages": 1,
        "size": 10,
        "number": 0,
        "sort": {
            "empty": false,
            "sorted": true,
            "unsorted": false
        },
        "numberOfElements": 2,
        "first": true,
        "empty": false
    }
};